package com.yonyou.iuap.ipaas.connector.sdwcoatencent.internal.service.core.function;

import com.yonyou.iuap.ipaas.connector.sdk.api.model.ResponseAttributes;
import com.yonyou.iuap.ipaas.connector.sdwcoatencent.api.model.business.BaseBean;
import com.yonyou.iuap.ipaas.connector.sdwcoatencent.internal.SdwcoatencentConnection;
import com.yonyou.yonlinker.ysb.runtime.extension.api.runtime.operation.Result;

import java.util.List;

@FunctionalInterface
public interface BatchHandleFunction <T extends BaseBean> {

    Result<String, ResponseAttributes> apply(SdwcoatencentConnection connection, String url, List<T> params, String serviceCode);
}
